<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <script src="./js/zepto.min.js">
    </script>
    <style>
        .parent {
            height: 500px;
            width: 601px;
            position: absolute;
            background-color: blue;
        }
        .first {
            height: 300px;
            width: 300px;
            background-color: yellow;
            position: absolute;
            border-right: 1px solid purple;
            position: absolute;
        }
    </style>
</head>
<body>
    <div class="parent">      </div>
    <div class="first"></div>
    <script>
        window.onload = function(){
            document.querySelector(".parent").addEventListener("click",function(e){
                console.log("2");
            });
            document.querySelector(".first").addEventListener("click",function(e){
                this.style.display = "none";
            });
        }
    </script>
</body>
</html>